package com.Utils3D;

import java.nio.FloatBuffer;
import java.nio.IntBuffer;

import com.EdificacioAR.DebugLog;
import com.EdificacioAR.Texture;

public class MeshGroup {

	public IntBuffer indices;
	public float[] color;//diffuse component of the mesh group
	public String texFile;
	public Texture texture;

	public int[] getIndices()
	{
		return indices.array();
	}
	
	public int getIndicesCount()
	{
		return indices.array().length;
	}
	
	public float[] getColor()
	{
		return color;
	}
	
	public Texture getTexture()
	{
		return texture;
	}
	
	public boolean hasTexture()
	{
		return (texFile != "");
	}
	
	
	
}
